package ee.rumba.iPhoneShop.artwork;

public class ArtworkItem {
  private int width;
  private int memWidth;
  private int height;
  private int pos;
  private String filename;

  public ArtworkItem(int width, int height, int pos, String filename) {
    this.width = width;
    this.memWidth = width;
    if ((memWidth % 8) != 0) memWidth = memWidth + (8 - (memWidth % 8));    
    this.height = height;
    this.pos = pos;
    this.filename = filename;
  }

  public int getWidth() {
    return width;
  }

  public int getMemWidth() {
    return memWidth;
  }
  
  public int getHeight() {
    return height;
  }

  public int getPos() {
    return pos;
  }


  public String getFilename() {
    return filename;
  }
}
